package com.hsmw.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.hsmw.common.base.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import java.math.BigDecimal;

/**
 * <p>
 * 租赁公司表
 * </p>
 *
 * @author WD
 * @since 2021-01-14
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "HsmwLeasingCompany对象", description = "租赁公司表")
public class HsmwLeasingCompany extends BaseModel {

	private static final long serialVersionUID = 1L;

	private Boolean flag;

	@NotEmpty(message = "租赁公司名称  不可以为空")
	@ApiModelProperty(value = "租赁公司名称")
	private String name;

	@ApiModelProperty(value = "负责人ID")
	private String userId;

	@NotEmpty(message = "负责人名称")
	@ApiModelProperty(value = "联系人")
	private String linkMan;

	@ApiModelProperty(value = "负责人电话")
	private String tel;

	@ApiModelProperty(value = "开通平台叫泵的标志")
	private boolean openFlag;

	@ApiModelProperty(value = "开启平台叫泵的标志")
	private boolean enableFlag;

	@ApiModelProperty(value = "开通平台接单的标志")
	private boolean receiveOpenFlag;

	@ApiModelProperty(value = "开启平台接单的标志")
	private boolean receiveEnableFlag;

	@ApiModelProperty(value = "冻结额度")
	private BigDecimal frozenLimit;

	@ApiModelProperty(value = "可用额度")
	private BigDecimal availableLimit;

	@ApiModelProperty(value = "未结算额度")
	private BigDecimal unSettlementLimit;


	@ApiModelProperty(value = "已结算金额")
	private BigDecimal settlementLimit;

	@ApiModelProperty(value = "空跑补助金额")
	private BigDecimal subsidyAmount;

	@ApiModelProperty(value = "挪泵补助金额")
	private BigDecimal movePumpSubsidy;



	@TableField(exist = false)
	private Integer vehicleCount;

	@TableField(exist = false)
	private Integer driverCount;

	@TableField(exist = false)
	private String sumVolume;

	@TableField(exist = false)
	private Long sumComplainCountsumVolume;

	@ApiModelProperty(value = "备注")
	private String remark;

}
